package com.ruoyi.hqfinance.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.hqfinance.domain.HqSettleAccountBalance;
import com.ruoyi.hqfinance.domain.vo.HqSettleAccountBalanceVo;
import com.ruoyi.hqfinance.mapper.HqSettleAccountBalanceMapper;
import com.ruoyi.hqfinance.service.HqSettleAccountBalanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class HqSettleAccountBalanceServiceImpl implements HqSettleAccountBalanceService {
    @Autowired
    private HqSettleAccountBalanceMapper hqSettleAccountBalanceMapper;
    @Override
    public List<HqSettleAccountBalance> search(HqSettleAccountBalanceVo hqSettleAccountBalanceVo) {
        PageHelper.startPage(hqSettleAccountBalanceVo.getPageDate());
        return hqSettleAccountBalanceMapper.search(hqSettleAccountBalanceVo);
    }
}
